home *** CD-ROM | disk | FTP | other *** search
- // ________________________________________________________________________
- // | |
- // | A Sample Script file for use with Telix 3.10 |
- // | |
- // | This script will simply execute BiMenu, from there you will have |
- // | complete control of all aspects of installing and running BiModem. |
- // |________________________________________________________________________|
- //
- // Very simple yet it really helps. now if you execute this script from
- // Telix, it should do the trick. Feel free to enhance this as there are
- // many directions you could take.
- //
- // 4/16/90: Slight changes to ensure compatibility with the BIMODXMT and
- // BIMODRCV scripts included with Autopuma. BIMODEM.CFG and BIMODEM.PTH
- // are forced to the default Telix directory.
-
- str bimodcmd [127];
- str pthpath [80];
-
- main()
- {
-
- // ensure telix dir has a trailing slash.
- if (subchr (_telix_dir, strlen (_telix_dir)-1) != '\') {
- strcat (_telix_dir, "\");
- }
-
- bimodcmd="BiMenu ";
- // set path to config file
- strcat (bimodcmd, "/C ");
- strcat (bimodcmd, _telix_dir);
- strcat (bimodcmd, "BIMODEM.CFG");
-
- // set path to transfer list file
- strcat (bimodcmd, " /P ");
- strcat (bimodcmd, _telix_dir);
- strcat (bimodcmd, "BIMODEM.PTH");
- dos (bimodcmd,0);
- }
-